package com.erp.ae.service;


import com.erp.ae.domain.AeMsgSave;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.shop.api.domain.ErpSellerStoreEmpower;

import java.util.List;

/**
 * 商户订单Service接口
 *
 * @author erp
 * @date 2023-03-09
 */
public interface IAeSaveOrderService {

    /**
     * @Description: 根据店铺CN码拉取所有订单
     * @Author: j.zh
     * @Date: 2024/5/9
     * @param accessToken
     * @return
     * @Version: 4.0.0
    **/
    R<Object> pullOrdersFromAliExpress(String newOrderIdList, String storeUserName, String accessToken,Integer type);

    /**
     * @Description: 拉取新订单ID集合
     * @Author: j.zh
     * @Date: 2024/5/9
     * @param storeUserName
     * @param accessToken
     * @param createDateStart
     * @param createDateEnd
     * @return java.util.List<java.lang.Long>
     * @Version: 4.0.0
    **/
    List<Long> pullNewOrderIdListFromAliExpress(String storeUserName, String accessToken, String createDateStart, String createDateEnd);

    R<Object> aePushOrdersInfo(String orderIds);


//    R<Object> queryOrderFromAeByOrderId(String accessToken, Long orderId);

//    R<Object> saveAeOrderInfo(AeStoreOrder aeStoreOrder, JSONObject orderDetails, String accessToken);

//    R<Object> getNewOrderFromAe(String sellerId, String accessToken, String createDateStart, String createDateEnd, String currentpage, Integer pageSize);

}
